package com.amigo.online.provider.video.model.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.common.base.entity.BaseEntity;

@Table(name = "adv_apply_detail_tbl")
@Alias(value = "AdvApplyDetail")
public class AdvApplyDetail extends BaseEntity {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    @Column(name = "adv_apply_id")
    private Long advApplyId; // 主表ID
    @Column(name = "adv_bundle_id")
    private Long advBundleId; // 套餐ID
    @Column(name = "area_id")
    private Long areaId; // 地区ID
    @Column(name = "leavecount")
    private Integer leavecount; //剩余播放量
    @Column(name = "start_time")
    private Long startTime; //开始播放时间
    @Column(name = "end_time")
    private Long endTime; //结束播放时间
    @Column(name = "updated_time")
    private Long updatedTime;
    @Column(name = "deleted")
    private Integer deleted;
    @Column(name = "deleted_time")
    private Long deletedTime;
    @Column(name = "type;")
    private Integer type;
    @Column(name = "longitude")
    private String longitude;
    @Column(name = "latitude")
    private String latitude;
    @Column(name = "distance")
    private Integer distance;


    public Long getAdvApplyId() {
        return advApplyId;
    }

    public void setAdvApplyId(Long advApplyId) {
        this.advApplyId = advApplyId;
    }

    public Long getAdvBundleId() {
        return advBundleId;
    }

    public void setAdvBundleId(Long advBundleId) {
        this.advBundleId = advBundleId;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Integer getLeavecount() {
        return leavecount;
    }

    public void setLeavecount(Integer leavecount) {
        this.leavecount = leavecount;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Long getDeletedTime() {
        return deletedTime;
    }

    public void setDeletedTime(Long deletedTime) {
        this.deletedTime = deletedTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public Integer getDistance() {
        return distance;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }
}
